//
//  QHomeTableViewHeaderView.m
//  QMCXDriver
//
//  Created by Massimo on 2017/4/15.
//  Copyright © 2017年 Massimo. All rights reserved.
//

#import "QHomeTableViewHeaderView.h"

@interface QHomeTableViewHeaderView()
@property (nonatomic, copy)QHomeHeaderClick signInBlock;
@property (nonatomic, weak)IBOutlet UILabel *titlesLabel;
@end

@implementation QHomeTableViewHeaderView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (IBAction)clickSignIn:(id)sender{
    self.signInBlock(sender);
}

- (void)headerWith:(NSArray*)msgs clickSignIn:(QHomeHeaderClick)callBack{
    self.signInBlock = callBack;
}

@end
